<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<%@include file="/WEB-INF/views/common/bstrapComm.jsp"%>
<title>登录</title>
<link href="${imgPath}/css/login.css" rel="stylesheet">
</head>
<body ng-app="myapp">
	<div class="container" >
		<form class="form-signin" ng-controller="login" method="POST" name="login"  novalidate>
			<h2 class="form-signin-heading">请登录</h2>
			<input type="text" class="form-control" placeholder="用户名或手机号" ng-model="phone" ng-maxlength="64" ng-pattern="/([a-zA-Z0-9_]{4,64})|(^((13[0-9])|(14[57])|(15[^4,\D])|(17[0,5-8])|(18[0-9]))\d{8}$)/" required>
 			<input type="password" class="form-control" placeholder="密码" ng-model="passwd" ng-maxlength="128" required>
			<div class="alert alert-danger" role="alert" ng-show="msg">{{msg}}</div>
 			<button class="btn btn-lg btn-primary btn-block" type="button" ng-click="singin()" ng-disabled="login.$invalid" novalidate>登录</button>
		</form>

	</div>
	<script src="${imgPath}/plugins/bootstrap-3.3.5-dist/js/ie10-viewport-bug-workaround.js"></script>
	<script src="${imgPath}/js/login.js"></script>
</body>
</html>